<%--
  Created by IntelliJ IDEA.
  User: CXYZF
  Date: 2024/10/17
  Time: 23:31
  To change this template use File | Settings | File Templates.
--%>
%@ page contentType="text/html;charset=GB18030" pageEncoding="GB18030" %>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=GB18030">
  <title>ͼϢ</title>
  <style type="text/css">
    #container{
      width: 450px;
      border: solid 1px;
      padding: 20px;
    }
    #title{
      font-size: 16px;
      font-weight: bold;
      color: #3399ff;
    }
    #content{
      font-size: 12px;
      text-align: left;
    }
  </style>
</head>
<body>
<jsp:useBean id="book" class="jspSample.unit5.javaBeanSamples.Book"></jsp:useBean>
<jsp:useBean id="encoding" class="jspSample.unit5.javaBeanSamples.CharactorEncoding"></jsp:useBean>
<jsp:setProperty name="book" property="*"/>
<div align="center">
  <div id="container">
    <div id="title">
      <%= encoding.toString(book.getTitle)%>
    </div>
    <hr>
    <div id="content">
      <%= encoding.toString(book.getContent())%>
    </div>
  </div>
</div>
</body>
</html>
